package records

import (
	"github.com/golib/mysql"
)

const RecordNameCmsNodeQuestion = "cms_node_question"

func init() {
	var r = &CmsNodeQuestion{}
	mysql.RegisterRecord(r.Name(), r)
}

type CmsNodeQuestion struct {
	NqId            int    `json:"nqId" form:"nqId" column:"nq_id" primary:"true" modify:"false"`
	NodeId          int    `json:"nodeId" form:"nodeId" column:"node_id" modify:"true"`
	MustlearnQids   string `json:"mustlearnQids" form:"mustlearnQids" column:"mustlearn_qids" modify:"true"`
	ChoicelearnQids string `modify:"true" json:"choicelearnQids" form:"choicelearnQids" column:"choicelearn_qids"`
	CreateTime      string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime      string `json:"updateTime" form:"updateTime" column:"update_time" modify:"false"`
}

func (r *CmsNodeQuestion) Name() string {
	return RecordNameCmsNodeQuestion
}
